import os

def filePath(fileDir,fileName):

    return os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))),fileDir,fileName)

if __name__ == '__main__':
    print(filePath('config','config.yaml'))